package com.yunchen.BooksManagementSystem.user.entity;

public class Books {
    private String picture;
    private String bookName;
    private String author;
    private String category;
    private int amount;
    private String introduction;


    public Books() {
    }

    public Books(String picture, String bookName, String author, String category, int amount, String introduction) {
        this.picture = picture;
        this.bookName = bookName;
        this.author = author;
        this.category = category;
        this.amount = amount;
        this.introduction = introduction;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    @Override
    public String toString() {
        return "Books{" +
                "picture='" + picture + '\'' +
                ", bookName='" + bookName + '\'' +
                ", author='" + author + '\'' +
                ", category='" + category + '\'' +
                ", amount=" + amount +
                ", introduction='" + introduction + '\'' +
                '}';
    }
}
